<?php
/**
 * Elgg Message board add form body
 *
 * @package ElggMessageBoard
 */

$type = get_input('type');
$input_view = 'input/plaintext';
if ($type=='comments') $input_view = 'input/longtext';

echo elgg_view($input_view, array(
	'style' => 'height:200px;font-family:inherit;font-size:12px;',
	'name' => 'message_content',
	'class' => 'messageboard-input mbs',
	'value' => $vars['message_content'],
));

echo elgg_view('input/hidden', array(
	'name' => 'annotation_id',
	'value' => $vars['annotation_id'],
));

echo "<div style='text-align:right'>";
echo elgg_view('input/submit', array(
	'value' => elgg_echo('post')
));
echo "</div>";
